﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x0200009E RID: 158
	internal class UInt8Int32 : IInt32Decoder
	{
		// Token: 0x0600028B RID: 651 RVA: 0x0000B6AD File Offset: 0x00009AAD
		private UInt8Int32()
		{
		}

		// Token: 0x0600028C RID: 652 RVA: 0x0000B6B5 File Offset: 0x00009AB5
		public int Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (int)bytes[offset + 1];
		}

		// Token: 0x040000C0 RID: 192
		internal static readonly IInt32Decoder Instance = new UInt8Int32();
	}
}
